# import numpy as np
# print(np.__file__) # 添加这行
# print(np.__version__) # 添加这行
# dt = np.dtype([('age',np.int8),('id',np.int8)])
# a = np.array([(10,11),(20,31),(30,12)], dtype = dt)
# print(a[1])



# import numpy as np
# student = np.dtype([('name','S20'), ('age', 'i1'), ('marks', 'f4')]) 
# a = np.array([('abc', 21, 50),('xyz', 18, 75)], dtype = student) 
# print(a)